tools/hotplug: locking.sh script: fix lock directory remains on error bug
authorIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 6 Jul 2010 12:10:14 +0000 (13:10 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 6 Jul 2010 12:10:14 +0000 (13:10 +0100)
commit0c85cce09c6d4e7de0fa30ca7b708f798a3d8d33
tree787a99ac2181de8486ed05cadf8fea925b169f9f
parent2157eba42a40fd8d18b8870f9a9073c41d21fb5f
tools/hotplug: locking.sh script: fix lock directory remains on error bug

_release_lock should be used instead of release_lock.
sigerr is introduced so that it can be redefined by
xen-hotplug-common.sh to a version which writes error status to xenstore.

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
tools/hotplug/Linux/locking.sh